package sctu.edu.java.year2016.team04.luoxinghua.day20160526.chapter8_3;

import java.util.Scanner;

/** 创建子类和父类的构造方法，然后向子类和父类添加成员变量和方法，并总结构建子类时的顺序
 * Created by 落叶的思恋 on 2016/5/29.
 */
import java.util.Scanner;
public class Kid extends Feather83
{
    Kid(){
        Scanner scanf = new Scanner(System.in);
        this.name = scanf.nextLine();
        this.bodymun=scanf.nextByte();
        this.eag=scanf.nextInt();
        System.out.println("我是子类里面的构造方法姓名是" + name + "年龄是" + eag + "学号是" + bodymun);
    }

}
